Search results
33 packages found
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Check if a file path is a binary file
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Detect the file type of a Buffer/Uint8Array/ArrayBuffer. Fork of https://github.com/sindresorhus/file-type allowing custom detectors. May be removed once this feature is merged into the original repo.
Returns true if a buffer is binary. Takes a buffer and does not read from the file system.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
- bin
- binary
- browser
- check
- detect
- encoding
- es2019
- ext
- extension
- extensions
- file
- is
- is binary
- is binary file
- View more
A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!
Returns true if a file is binary. Checks the actual contents, since extensions are not reliable. Basic wrapper for isbinaryfile to support vinyl files.
Detect the file type of a Buffer/Uint8Array
Detect the file type of a Buffer/Uint8Array
基于file-type 12.3.0版本修改,微信小程序可用的文件类型检测工具
Check if a Buffer/Uint8Array is a m4a file.
Detect the file type of a Buffer/Uint8Array
Check if a Buffer/Uint8Array is an OPUS audio file
Check if a Buffer/Uint8Array is a FLAC file.
Check if a Buffer/Uint8Array is a wav file.